<template>
	<view >
		<u-popup v-model="popupShow" mode="bottom" width="750rpx" height="1080rpx" border-radius="16" :mask-close-able="false">
			<view class="popup_box">
				<view class="header">
					<view class="left">
						私教权益
					</view>
					<u-icon name="close" color="#666666" size="34" @click="sure"></u-icon>
				</view>
				<scroll-view scroll-y="true" style="height: 850rpx">
					<view class="comlum_box">
						<view v-for="(item,index) in tagList" :key="index" class="Item">
							<image :src="item.image" mode="" class="Tag"></image>
							<view class="content">
								{{item.remark}}
							</view>
						</view>
					</view>
				</scroll-view>
				<view class="btn" @click="sure">
					我知道了
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default{
		props: {
			popupShow: {
				type: Boolean,
				default: false,
				required: true
			},
			tagList:{
				type: Array,
				default: false,
				required: true
			}
		},
		data(){
			return{
				sure(){
					this.$emit('sure', false)
				}
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.popup_box{
		width: 750rpx;
		height: 1080rpx;
		padding: 36rpx 40rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		.header{
			width: 100%;
			display: flex;
			flex-direction: row;
			align-items: center;
			.left{
				font-size: 36rpx;
				font-family: PingFang SC, PingFang SC-Bold;
				font-weight: 700;
				text-align: left;
				color: #333333;
				flex: 1;
			}
		}
		
		.comlum_box{
			display: flex;
			flex-direction: column;
			width: 100%	;
			padding-top: 48rpx;
			.Item{
				display: flex;
				flex-direction: column;
				margin-bottom: 32rpx;
				.Tag{
					height: 42rpx;
					width: 150rpx;
					margin-bottom: 20rpx;
				}
				.content{
					font-size: 28rpx;
					font-family: PingFang SC, PingFang SC-Medium;
					font-weight: 500;
					text-align: left;
					color: #333333;
				}
			}
		}
		.btn{
			width: 710rpx;
			height: 88rpx;
			background: #73F0EA;
			border-radius: 16rpx;
			font-size: 34rpx;
			font-family: PingFang SC, PingFang SC-Bold;
			font-weight: 700;
			text-align: center;
			color: #ffffff;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
</style>